﻿using MediatR;
using TraceabilityApp_ErrorCode;

namespace TraceabilityApp_Api.Application.Command.Breed_养殖_
{
    public class AddBreedCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 品种
        /// </summary>
        public string Variety { get; set; }
        /// <summary>
        /// 来源
        /// </summary>
        public string Source { get; set; }
        /// <summary>
        /// 饲养天数
        /// </summary>
        public int HousingDays { get; set; }
        /// <summary>
        /// 饲料品牌
        /// </summary>
        public string FeedBrand { get; set; }
        /// <summary>
        /// 饲养负责人
        /// </summary>
        public string Herdsperson { get; set; }
        /// <summary>
        /// 出栏日期
        /// </summary>
        public DateTime HarvestDate { get; set; }
        /// <summary>
        /// 生产批次(整个系统唯一)
        /// </summary>
        public string Batch { get; set; }
    }
}
